# Description: Hızlı, hafif bir pencere yöneticisi
# URL: http://flwm.sourceforge.net/
# Packager: milisarge
# Depends on: fltk1

name=flwm
version=git
release=1
source=(flwm.desktop)

build() {
  git clone https://github.com/bbidulock/flwm.git $DERLEME_KAYNAKDIZIN/flwm
  cp -r $DERLEME_KAYNAKDIZIN/flwm $SRC/ && cd $SRC/flwm

  make || return 1
  mkdir -p $PKG/usr/share/xsessions
  cp $SRC/$name.desktop $PKG/usr/share/xsessions/

  install -Dm755 flwm "$PKG/usr/bin/flwm"
  install -Dm644 flwm.1 "$PKG/usr/share/man/man1/flwm.1"
}
